package com.rs.service.rs;

import java.util.List;
import java.util.Map;

import com.rs.model.CommonResult;
import com.rs.model.User;
import com.rs.model.Project;

public interface ProjectService {
	/*********App***************/
	//根据职务类别查询员工
	CommonResult<List<User>> projectByPositionLoUserApp(String posType);

	CommonResult<String> projectEstablishApp(Project project);//建立项目

	CommonResult<List<Project>> projectLookAllApp(Project project);//查看所有的项目申请记录

	//根据项目建立时间查询
	CommonResult<List<Project>> projectAccordanceTimeLookApp(Map<String, String> map);

	//查看项目详情
	CommonResult<Project> projectLookParticularApp(Project project);

	//修改项目记录
	CommonResult<String> projectUpdateProjectApp(Project project);

	/***********Pc*************/
	//pc端条件查询所有的项目记录
	CommonResult<Map<String, Object>> projectConditionsQueryPc(Project project);

	//pc端根据建立时间查询项目记录
	CommonResult<Map<String, Object>> projectAccordanceTimeQueryPC(Map<String, String> map);

	//pc端查询项目详情
	CommonResult<Project> projectQueryOnePc(Integer pr_id);

}
